package com.freeter.modules.HelpCategory.dao;

import com.freeter.modules.HelpCategory.entity.HelpCategoryEntity;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import java.util.List;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;

import com.freeter.modules.sys.entity.SysMenuEntity;
import org.apache.ibatis.annotations.Param;
import com.freeter.modules.HelpCategory.entity.vo.HelpCategoryVO;
import com.freeter.modules.HelpCategory.entity.view.HelpCategoryView;


/**
 * 帮助中心分类
 * 
 * @author xuchen
 * @email 171998110@qq.com
 * @date 2019-09-07 15:47:30
 */
 @SuppressWarnings({"unchecked","rawtypes"})
public interface HelpCategoryDao extends BaseMapper<HelpCategoryEntity> {
	
	List<HelpCategoryVO> selectListVO(@Param("ew") Wrapper<HelpCategoryEntity> wrapper);
	
	HelpCategoryVO selectVO(@Param("ew") Wrapper<HelpCategoryEntity> wrapper);

	List<HelpCategoryView> queryListParentId(Long parentId);
	
	List<HelpCategoryView> selectListView(@Param("ew") Wrapper<HelpCategoryEntity> wrapper);

	List<HelpCategoryView> selectListView(Pagination page,@Param("ew") Wrapper<HelpCategoryEntity> wrapper);
	
	HelpCategoryView selectView(@Param("ew") Wrapper<HelpCategoryEntity> wrapper);
}
